package com.ljk.controller;

import com.ljk.domain.ResponseResult;
import com.ljk.domain.dto.TagDto;
import com.ljk.domain.vo.TagVo;
import com.ljk.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/tag")
public class TagController {
    @Autowired
    private TagService tagService;

    @GetMapping("/listAllTag")
    public ResponseResult listAllTag(){
        return tagService.listAllTag();
    }
}
